/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package consys.social.core.dao;

import consys.social.core.bo.Entity;
import consys.social.core.bo.Wall;
import consys.social.core.bo.WallPost;
import java.io.IOException;
import java.util.Date;
import java.util.List;

/**
 * Data access for Wall Service
 *
 * @author Petr Kunc
 */
public interface WallDao {
    void savePost(List<String> followersUids, WallPost post) throws IOException;
    Wall loadWall(Entity entity, int count, int from) throws IOException;
    Wall loadProfileWall(Entity entity, int count, Date from, boolean newest) throws IOException;
    void deletePost(WallPost post) throws IOException;
}
